Srikanth Sastry

software engineering

39 posts · All tags

The Consenting Adults Problem

The Consenting Adults Problem

11 min
The Hidden Directive Gap

The Hidden Directive Gap

11 min
The Architecture Orphaning Problem with AI Agents

The Architecture Orphaning Problem with AI Agents

6 min
The Guardrail Erosion Problem with AI Agents

The Guardrail Erosion Problem with AI Agents

9 min
AI vs. Open Source, Part 3: The Constant Eyes

AI vs. Open Source, Part 3: The Constant Eyes

7 min
AI vs. Open Source, Part 2: The Hollow Commons

AI vs. Open Source, Part 2: The Hollow Commons

5 min
AI vs. Open Source, Part 1: The Empty Grant

AI vs. Open Source, Part 1: The Empty Grant

5 min
The Suggestible Actor: A New Model for AI-Assisted Software Development

The Suggestible Actor: A New Model for AI-Assisted Software Development

10 min
Cargo Cult Governance

Cargo Cult Governance

9 min
Defense in Depth vs Locality of Behavior

Defense in Depth vs Locality of Behavior

2 min
When Backward Compatibility Can Rescue a Leaky Abstraction

When Backward Compatibility Can Rescue a Leaky Abstraction

6 min
Const Refs vs. Raw Pointers: Fixing Shared Pointer Reads

Const Refs vs. Raw Pointers: Fixing Shared Pointer Reads

3 min
Changing your Jekyll theme without losing your mind (or your content!)

Changing your Jekyll theme without losing your mind (or your content!)

7 min
Cyclomatic Complexity: How Low Can You Go?

Cyclomatic Complexity: How Low Can You Go?

3 min
The Law of Demeter and unit tests

The Law of Demeter and unit tests

4 min
'Privatize' your classes for better unit testing

'Privatize' your classes for better unit testing

3 min
Tests should be isolated from each other; not coupled

Tests should be isolated from each other; not coupled

7 min
In unit tests, I favor Detroit over London

In unit tests, I favor Detroit over London

5 min
Defining unit tests: two schools of thought

Defining unit tests: two schools of thought

3 min
Primary attributes of unit test suites and their tradeoffs

Primary attributes of unit test suites and their tradeoffs

6 min
The big WHY about unit tests

The big WHY about unit tests

4 min
Unit test the brains and not the nerves

Unit test the brains and not the nerves

3 min
Mocks, Stubs, and how to use them

Mocks, Stubs, and how to use them

6 min
DRY unit tests are bad... mkay

DRY unit tests are bad... mkay

9 min
Do not index on test coverage metrics

Do not index on test coverage metrics

4 min
Beware of using patch.object to test your Python code

Beware of using patch.object to test your Python code

2 min
Reuse Code, Not Objects

Reuse Code, Not Objects

2 min
Code reuse can prevent bugs

Code reuse can prevent bugs

2 min
Git may not be the best for SaaS companies

Git may not be the best for SaaS companies

7 min
When should you build for survival?

When should you build for survival?

5 min
Are you building for Survival or Excellence?

Are you building for Survival or Excellence?

6 min

Object Composition for Service Migration

4 min
folly:Future, onTimeout(), and a race condition

folly:Future, onTimeout(), and a race condition

2 min
Scripts and their undo

Scripts and their undo

2 min

Merits of unit tests — part 5

3 min

Unit tests FTW! — Part 4

3 min

The merits of unit tests — Part 3

4 min

The merits of unit tests — Part 2

2 min

My code is bugfree! Why should I unit test?

3 min